package com.cm.projectx.entity.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;


import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class ExcelPriceTaskDto {

    @Excel(name = "任务名称",width = 20)
    private String taskName;

    @Excel(name = "任务类型",replace = {"即时任务_0","周期任务_1"},width = 20)
    private String taskType;

    @Excel(name = "任务下发时间",format = "yyyy-MM-dd HH:mm:ss",width = 20)
    private Date updateTime;

    @Excel(name = "任务状态",replace = {"草稿_0","已下发_1","已废除_2"},width = 20)
    private String status;
}
